package com.pan.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pan.dao.OperaterDao;
import com.pan.domain.User;
import com.pan.service.IOperaterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OperaterServiceImpl extends ServiceImpl<OperaterDao, User> implements IOperaterService {
    @Autowired
    private OperaterDao operaterDao;

    @Override
    public Boolean changeDeptno(Integer id, Integer deptno) {
        return operaterDao.changeDeptno(id,deptno);
    }

    @Override
    public Boolean changePosition(Integer id, String position) {
        return operaterDao.changePosition(id,position);
    }

    @Override
    public Boolean changeSalary(Integer id, Integer salary) {
        return operaterDao.changeSalary(id,salary);
    }
}
